<?php
/**
 * Created by PhpStorm.
 * User: Jerry
 * Date: 2016/11/22
 * Time: 15:49
 */

namespace YMApi\Model;


use Think\Model;

/**
 * Class UserRankModel
 * @package SDXApi\Model
 */
class UserRankModel extends Model
{
    /**
     * @var string
     */
    protected $tableName = 'business_rank';

    /**
     * Created by Jerry
     * @return mixed
     */
    public function get_vip_rank()
    {
        $where = array(
            'rank_id'   =>  2,
        );
        return M("business_rank")->where($where)->find();
    }
}